package com.pl.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Repairtable)实体类
 *
 * @author makejava
 * @since 2024-04-29 20:16:08
 */
public class Repairtable implements Serializable {
    private static final long serialVersionUID = -23372474102241517L;
    /**
     * 维修编号
     */
    private String repairNumber;
    /**
     * 设备ID
     */
    private Integer deviceId;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 维修时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    /**
     * 维修地点
     */
    private String repairAddr;
    /**
     * 维修人员
     */
    private String repairName;
    /**
     * 维修部门
     */
    private Integer departId;
    /**
     * 维修状态
     */
    private String repairStatus;


    public String getRepairNumber() {
        return repairNumber;
    }

    public void setRepairNumber(String repairNumber) {
        this.repairNumber = repairNumber;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRepairAddr() {
        return repairAddr;
    }

    public void setRepairAddr(String repairAddr) {
        this.repairAddr = repairAddr;
    }

    public String getRepairName() {
        return repairName;
    }

    public void setRepairName(String repairName) {
        this.repairName = repairName;
    }

    public Integer getDepartId() {
        return departId;
    }

    public void setDepartId(Integer departId) {
        this.departId = departId;
    }

    public String getRepairStatus() {
        return repairStatus;
    }

    public void setRepairStatus(String repairStatus) {
        this.repairStatus = repairStatus;
    }

    @Override
    public String toString() {
        return "Repairtable{" +
                "repairNumber='" + repairNumber + '\'' +
                ", deviceId=" + deviceId +
                ", deviceName='" + deviceName + '\'' +
                ", createTime=" + createTime +
                ", repairAddr='" + repairAddr + '\'' +
                ", repairName='" + repairName + '\'' +
                ", departId=" + departId +
                ", repairStatus='" + repairStatus + '\'' +
                '}';
    }
}

